/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.q3and4.compositereuseprin.infrastracture;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.q3and4.compositereuseprin.model.obey.Child;

/**
 *
 * @author user
 */
@Configurable
public class Compositionreuseprin {
    @Bean(name="crp")
    public Child getClild(){
        return new Child();
    }
    
}
